﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ReAnimation.Helpers.Common
{
    public static class Int32Helper
    {
        public delegate void EachTimeDelegate(int i);
        public static void TimesDo(this Int32 v, EachTimeDelegate @do)
        {
            for (int i = 0; i < v; i++)
                @do.Invoke(i);
        }
    }
}
